package cn.minimelon.solon.domain.cert;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.beetl.sql.annotation.entity.Table;
import org.noear.snack.annotation.ONodeAttr;

import java.util.Date;

/**
 * @author : auto
 * @date : 2024-10-14
 * @desc : 推送单附件
 */
@Getter
@Setter
@ApiModel("推送单附件")
@Table(name = "qc_push_attach")
public class QcPushAttach {
    /**
     * 推送单ID
     */
    @ApiModelProperty("推送单ID")
    private String pid;
    /**
     * 证照id
     */
    @ApiModelProperty("证照id")
    private String certId;
    /**
     * 类型;0:承诺书,1:法人委托书,2:器械注册证人,3:产品注册证,4:授权书,5:准入证明
     */
    @ApiModelProperty("类型")
    private String certType;
    /**
     * 证照类型;数据字典
     */
    @ApiModelProperty("证照类型")
    private String certKind;
    /**
     * 附件名称
     */
    @ApiModelProperty("附件名称")
    private String fileName;
    /**
     * 附件路径
     */
    @ApiModelProperty("附件路径")
    private String filePath;
    /**
     * 附件ID
     */
    @ApiModelProperty("附件ID")
    private String fileId;
    /**
     * 文件大小
     */
    @ApiModelProperty("文件大小")
    private Integer fileSize;
    /**
     * 排序号
     */
    @ApiModelProperty("排序号")
    private Integer sortNum;
    /**
     * 停用标识;1启用、0停用
     */
    @ApiModelProperty("停用标识")
    private Integer activeFlag;
    /**
     * 扩展信息
     */
    @ApiModelProperty("扩展信息")
    private String extInfo;

    @ApiModelProperty(value = "唯一标识")
    private String id;

    @ONodeAttr(format = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "修改时间")
    private Date lastModified;

    @ApiModelProperty(value = "数据版本")
    private Integer version;

    @ApiModelProperty(value = "创建时间")
    @ONodeAttr(format = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "创建人ID")
    private String createUser;

    @ApiModelProperty(value = "修改人ID")
    private String lastModifiedUser;
}